<% cache do%>
	<div id="home-content">
		<div class='flash-notice' style="text-align: left;">
			<strong>Announcement:</strong><br/><br/> As you may have noticed, I've revamped Expendite quite a bit (most noticeably, the UI) and I'm planning to push out further revisions throughout summer. If anything breaks/doesn't work the way you expect it to/is confusing, please don't hesitate to email me at amber.feng@gmail.com. Thanks! (:<br/><br/>
			<strong>Recent updates</strong>
			<ul>
				<li>8/15/10: Public group creation (no need to go through me to create a group anymore)!</li>
				<li>8/15/10: Payment history</li>
				<li>7/12/10: "Feedback/Future" (much like ESC's) forum so you can tell me what you'd like to see!</li>
			</ul>
			PS: Scroll down and check out what exciting stuff is (hopefully, depending on how diligent I feel) coming soon!
		</div>
		<h1>What is Expendite?</h1>
		Expendite is an application written by <%= link_to "Amber Feng", "http://www.amberfeng.com" %> (UC Berkeley, EECS) to manage shared expenses within a group. She first built it to manage apartment expenses with her apartment-mates. 
	
		<br><br>For example, if somebody buys groceries to be shared, they can enter in an expense named "Safeway", tag it as a "Group-Split", and the program will split the cost with everyone in the group. On the homepage, the application calculates the total of how much everyone owes everyone, with the option to mark expenses as paid.
		<br><br>
		<h2>Features:</h2>
		<ul>
			<li>Multiple users per group, groups are isolated (you only split with members of your group, not other groups)</li>
			<li>Group-Split (whole group), Multiple-split (multiple people less than the whole group), Owes me (one or more people owe a specific amount)</li>
			<li>Running totals of who owes who what</li>
			<li>Marking expenses as paid</li>
			<li>Expense Consolidation (A owes B $50, B owes A $ 60, CONSOLIDATE => B owes A $10)</li>
			<li>Tables to show expenses with column sorting, search, and pagination*</li>
		</ul>
		<i>* = (relatively) new</i>
	
		<h2>Coming Soon</h2>
		<ul>
			<li>Multiple-group support (and you won't have to go through me anymore to create groups)</li>
			<li>Screenshots and "tour" for people who can't read my mind and are confused as to how to use Expendite</li>
			<li>Recurring expenses (ex. rent)</li>
			<li>Chores manager/reminders (with passive aggressive email reminders if you don't do your chores)</li>
			<li>Chart candy (like Mint) to show you trends in your group's expenses</li>
			<li>Possible PayPal integration</li>
		</ul>
	</div>
<% end %>
	
<div id="login-box">
	<% if !logged_in? %>
		<%= render :partial => "users/login.html.erb" %>
	<% else %>
		<div class='uniForm' style='padding: 20px;'><h1>Sign In</h1><%=h current_user.name %>: You're already logged in, <%= link_to "head on over", :controller=>"expenses" %> to view your shared expenses!</div>
	<% end %>
</div>